export default class loginCallback {
  constructor(mid: string, csrf: string, expires_in: string, accesskey: string, refresh_token: string, cookies: string) {
    this.mid = mid;
    this.csrf = csrf;
    this.cookies = cookies;
    this.accessKey = accesskey;
    this.expiresIn = expires_in;
    this.refreshToken = refresh_token;
  }

  private _mid: string;

  public get mid() {
    return this._mid;
  }

  public set mid(mid: string) {
    this._mid = mid;
  }

  private _csrf: string;

  public get csrf() {
    return this._csrf;
  }

  public set csrf(csrf: string) {
    this._csrf = csrf;
  }

  private _expiresIn: string;

  public get expiresIn() {
    return this._expiresIn;
  }

  public set expiresIn(expiresIn: string) {
    this._expiresIn = expiresIn;
  }

  private _accesskey: string;

  public get accessKey() {
    return this._accesskey;
  }

  public set accessKey(accessKey: string) {
    this._accesskey = accessKey;
  }

  private _refreshToken: string;

  public get refreshToken() {
    return this._refreshToken;
  }

  public set refreshToken(refreshToken: string) {
    this._refreshToken = refreshToken;
  }

  private _cookies: string;

  public get cookies() {
    return this._cookies;
  }

  public set cookies(cookies: string) {
    this._cookies = cookies;
  }
}